﻿using Basic.FlowModel.DB;
using Basic.FlowRemoteModel;
using Basic.FlowRemoteModel.EventTemplate.Model;
using WeDonekRpc.Model;

namespace Basic.FlowDAL
{
    public interface IFlowEventTemplateDAL : IBasicDAL<DBFlowEventTemplate, long>
    {
        Result[] Query<Result> ( InterQueryParam query, IBasicPage paging, out int count ) where Result : class;
        long Add ( EventTemplateAdd data );
        void SetStatus ( DBFlowEventTemplate source, FlowInterStatus status );
    }
}